<table id="tree_table" align="center" width="100%" cellpadding="2" cellspacing="2" >
	<tr class="table_header">
        <th>#</th><th>Картинка</th><th>Название</th><th>Альяс</th><th>Описание</th><th width="160">Управление</th>
    </tr>
	{section name=l loop=$items}
	<tr class="tree_tr{if $smarty.section.l.iteration % 2 == '0'}1{/if}" id="items_{$items[l].id}">
        <td width="200" align="center">{$items[l].id}</td>
        <td width="160" align="center"><img src="{if $items[l].image == '1'}{$smarty.const.UPLOAD}{$page.dir}/{$items[l].id}_small.jpg{else}{$smarty.const.I}noimage.gif{/if}" /></td>
        <td align="center">{$items[l].title}</td>
        <td align="center">{$items[l].alias}</td>
		<td width="55%" align="center">{$items[l].content}</td>
		<td align="center">
			<div class="left">
				<a rel="nofollow" href="?cat_id={$items[l].category_id}&item_id={$items[l].id}&do=delete" onclick="del_item('flash_game',{literal}{{/literal}'id':'{$items[l].id}'{literal}}{/literal},'items_{$items[l].id}');return false;" class="ui-icon ui-icon-trash left" title="удаление"></a>
				<a rel="nofollow" href="?cat_id={$items[l].category_id}&item_id={$items[l].id}#item" class="ui-icon ui-icon-pencil left" title="редактирование"></a>
				<a href="{$smarty.const.SITE_URL}/{$items[l].alias}.html" class="ui-icon ui-icon-search left" title="просмотр" target="_blank"></a>
			<br />
				<a href="?obj_id={$items[l].id}&do=turn_off" class="ui-icon ui-icon-locked left{if $items[l].status == '0'} selectedAction{/if}" onclick="status('flash_game',{literal}{{/literal}'id':'{$items[l].id}'{literal}}{/literal},'items_{$items[l].id}','0');return false;" title="блокировка"></a>
				<a href="?obj_id={$items[l].id}&do=moderate" class="ui-icon ui-icon-key left{if $items[l].status == '1'} selectedAction{/if}" onclick="status('flash_game',{literal}{{/literal}'id':'{$items[l].id}'{literal}}{/literal},'items_{$items[l].id}','1');return false;" title="модерация"></a>
				<a href="?obj_id={$items[l].id}&do=turn_on" class="ui-icon ui-icon-unlocked left{if $items[l].status == '2'} selectedAction{/if}" onclick="status('flash_game',{literal}{{/literal}'id':'{$items[l].id}'{literal}}{/literal},'items_{$items[l].id}','2');return false;" title="свободный доступ"></a>
			</div>
		</td>
	</tr>
	{/section}
</table>
<br class="clear" />
<div align="center">{include file="templates/other/per_page_navigation.inc.html"}</div>
